﻿using System;
using Unis.Framework.Core.Exceptions;

namespace Unis.Framework.ORM.Exceptions
{
    public class EntityNotInheritBaseModelException : APPException
    {
        // Methods
        public EntityNotInheritBaseModelException(Type entityType)
            : base(string.Format("实体类型{0}必须继承Unis.ORM.Common.BaseModel!", entityType.FullName))
        {
        }
    }
}
